package com.doyens.gmall.list.service;

import com.doyens.gmall.model.list.SearchParam;
import com.doyens.gmall.model.list.SearchResponseVo;

import java.io.IOException;

/**
 * Classname:SearchService
 * PackageName:com.doyens.gmall.list.service
 *
 * @Author:uyijk
 * @Create:2023/8/3 11:04
 * @Version: 1.0
 */
public interface SearchService {
    /**
     * 上架商品列表
     * @param skuId
     */
    void upperGoods(Long skuId);

    /**
     * 下架商品列表
     * @param skuId
     */
    void lowerGoods(Long skuId);
    /**
     * 更新热点
     * @param skuId
     */
    void incrHotScore(Long skuId);

    SearchResponseVo search(SearchParam searchParam) throws IOException;
}
